﻿#pragma once

#include "core/Macro.h"

#include "spdlog/spdlog.h"

namespace Engine 
{
	class ENGINE_API LogSystem
	{
	public:
		LogSystem();
		~LogSystem();

		static void Init();

		inline static std::shared_ptr<spdlog::logger>& GetEngineLogger() { return engineLogger; }
		inline static std::shared_ptr<spdlog::logger>& GetEditorLogger() { return editorLogger; }

	private:
		static std::shared_ptr<spdlog::logger> engineLogger;
		static std::shared_ptr<spdlog::logger> editorLogger;
	};
}
